//
//  paytype_Cell.m
//  pz_live
//
//  Created by caiyc on 2018/9/17.
//  Copyright © 2018年 caiyc. All rights reserved.
//

#import "paytype_Cell.h"

@implementation paytype_Cell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}
-(void)bindData:(NSDictionary *)dic{
    
    self.shop_Price.text = [NSString stringWithFormat:@"¥%@",dic[@"price"]];
    CGFloat shop = [dic[@"price"]floatValue];
    CGFloat ship =  [dic[@"express_price"]floatValue];
    self.shep_Price.text =  [NSString stringWithFormat:@"¥%@",dic[@"express_price"]];
    self.total_Price.text = [NSString stringWithFormat:@"¥%.2f",shop+ship];
    self.total_Price.textColor = PRICE_COLOR;
}
@end
